import Types from '../types';

// 递增
export const increment = value => {
  return {
    type: Types.COUNTER_INCREMENT,
    payload: value,
  };
};

// 递减
export const decrement = value => {
  return {
    type: Types.COUNTER_DECREMENT,
    payload: value,
  };
};
